package mapper.user;

import pojo.SysRole;

import java.util.List;

public interface SysRoleMapper {

    //添加角色信息
    public int insert(SysRole sysRole);

    //修改
    public int update(SysRole sysRole);

    //删除
    public int delete(Long id);

    //根据角色名称模糊查询角色信息
    public List<SysRole> selectAll(String roleName);

    //第四章简答  修改
    public int UpdateRole(SysRole sysRole);

    //第四章简答  查询
    public List<SysRole> selectAllRole(String roleName);
}
